Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/live 15542 aptos send receive fix send funds simulation failed when amount to send is slightly above max spendable amount #8766

Conversation

may01
Copy link

@may01 may01 commented Dec 24, 2024

βœ… Checklist

  • npx changeset was attached.
  • Covered by automatic tests.
  • Impact of the changes:
    • ...

πŸ“ Description

During simulation of transaction, if the tx amount is lower then account balance, but we don't have enough founds to cover fees, then we get the "Abort" error from the network.
To avoid additional message during this errors the amount check is added for the unprocessed errors.

❓ Context

  • JIRA or GitHub link:

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.
  • Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

@may01 may01 requested review from a team as code owners December 24, 2024 17:50
Copy link

vercel bot commented Dec 24, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
web-tools βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Dec 31, 2024 3:25pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
ledger-live-github-bot ⬜️ Ignored (Inspect) Visit Preview Dec 31, 2024 3:25pm
native-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 31, 2024 3:25pm
react-ui-storybook ⬜️ Ignored (Inspect) Visit Preview Dec 31, 2024 3:25pm

@live-github-bot live-github-bot bot added desktop Has changes in LLD mobile Has changes in LLM common Has changes in live-common ui Has changes in the design system library ledgerjs Has changes in the ledgerjs open source libs tools Has changes in tools translations Translation files have been touched cli labels Dec 24, 2024
@may01 may01 changed the base branch from develop to feat/integrate-aptos December 24, 2024 17:57
…eceive-fix-send-funds-simulation-failed-when-amount-to-send-is-slightly-above-max-spendable-amount
@live-github-bot live-github-bot bot removed desktop Has changes in LLD mobile Has changes in LLM ui Has changes in the design system library ledgerjs Has changes in the ledgerjs open source libs tools Has changes in tools translations Translation files have been touched cli labels Dec 27, 2024
@live-github-bot
Copy link
Contributor

live-github-bot bot commented Dec 27, 2024

Desktop Bundle Checks

Comparing 081f0d0 against 8d2cf10.

⚠️ renderer bundle size significantly increased: 36.7mb -> 37.8mb. Please check if this is expected.

Mobile Bundle Checks

Comparing 462b24d against 8d2cf10.

⚠️ main.ios.jsbundle bundle size significantly increased: 60.3mb -> 61.7mb. Please check if this is expected.
⚠️ main.android.jsbundle bundle size significantly increased: 60.3mb -> 61.7mb. Please check if this is expected.

…eceive-fix-send-funds-simulation-failed-when-amount-to-send-is-slightly-above-max-spendable-amount
@live-github-bot live-github-bot bot added desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs labels Dec 30, 2024
@may01 may01 force-pushed the feat/LIVE-15542-aptos-send-receive-fix-send-funds-simulation-failed-when-amount-to-send-is-slightly-above-max-spendable-amount branch from d7cb7f1 to 11930f8 Compare December 31, 2024 00:07
@live-github-bot live-github-bot bot added desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs and removed desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs labels Dec 31, 2024
@may01 may01 force-pushed the feat/LIVE-15542-aptos-send-receive-fix-send-funds-simulation-failed-when-amount-to-send-is-slightly-above-max-spendable-amount branch from 94bb1f7 to 11930f8 Compare December 31, 2024 15:19
@live-github-bot live-github-bot bot removed desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs labels Dec 31, 2024
@may01 may01 merged commit 089a7da into feat/integrate-aptos Dec 31, 2024
50 of 54 checks passed
@may01 may01 deleted the feat/LIVE-15542-aptos-send-receive-fix-send-funds-simulation-failed-when-amount-to-send-is-slightly-above-max-spendable-amount branch December 31, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Has changes in live-common
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants